package com.aiyige.model.request;

/**
 * Created by xiachao on 2018/10/12.
 */

public class RequestBindThirdAndSetPasswordBody {
    private String mobile;//18751953199,
    private String password;//e10adc3949ba59abbe56e057f20f883e,
    private RequestThirdOauthBackup thirdOauthBackup;

    public RequestBindThirdAndSetPasswordBody() {
    }

    private RequestBindThirdAndSetPasswordBody(Builder builder) {
        setMobile(builder.mobile);
        setPassword(builder.password);
        setThirdOauthBackup(builder.thirdOauthBackup);
    }

    public static Builder newBuilder() {
        return new Builder();
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public RequestThirdOauthBackup getThirdOauthBackup() {
        return thirdOauthBackup;
    }

    public void setThirdOauthBackup(RequestThirdOauthBackup thirdOauthBackup) {
        this.thirdOauthBackup = thirdOauthBackup;
    }



    public static final class Builder {
        private String mobile;
        private String password;
        private RequestThirdOauthBackup thirdOauthBackup;

        private Builder() {
        }

        public Builder mobile(String val) {
            mobile = val;
            return this;
        }

        public Builder password(String val) {
            password = val;
            return this;
        }

        public Builder thirdOauthBackup(RequestThirdOauthBackup val) {
            thirdOauthBackup = val;
            return this;
        }

        public RequestBindThirdAndSetPasswordBody build() {
            return new RequestBindThirdAndSetPasswordBody(this);
        }
    }
}
